package cn.eonshine.cuba.inf.modular.biz.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * Tanker GPS数据表
 * </p>
 *
 * @author Alan
 * @since 2018-07-28
 */
@TableName("inf_tanker_gps_datasheet")
public class TankerGpsDatasheet extends Model<TankerGpsDatasheet> {

    private static final long serialVersionUID = 1L;

    /**
     * primary key 主键
     */
    @TableField(exist = false)
    private String id;
    @TableId("vessel_id")
    private BigDecimal vesselId;
    private String builder;
    @TableField("classification_society")
    private String classificationSociety;
    /**
     * 净重 ton
     */
    @TableField("dead_weight")
    private BigDecimal deadWeight;
    /**
     * 设计最大速度
     */
    @TableField("design_max_speed")
    private BigDecimal designMaxSpeed;
    /**
     * 总吨位
     */
    @TableField("gross_tonnage")
    private BigDecimal grossTonnage;
    /**
     * 高度
     */
    private BigDecimal height;
    private String insurer;
    /**
     * 长度
     */
    private BigDecimal length;
    private String manager;
    private String owner;
    @TableField("person_capacity")
    private BigDecimal personCapacity;
    @TableField("service_status")
    private String serviceStatus;
    @TableField("teu_14mt")
    private BigDecimal teu14mt;
    @TableField("teu_max")
    private BigDecimal teuMax;
    @TableField("teu_reefer")
    private BigDecimal teuReefer;
    private BigDecimal width;
    @TableField("year_built")
    private BigDecimal yearBuilt;
    @TableField("year_scraped")
    private BigDecimal yearScraped;
    /**
     * Data collection status 数据采集状态
     */
    @TableField("LSMS_UPDATE")
    private BigDecimal lsmsUpdate;
    /**
     * Data input datetime 数据更新时间
     */
    @TableField("DATA_INPUT_DATETIME")
    private Date dataInputDatetime;


    public BigDecimal getVesselId() {
        return vesselId;
    }

    public void setVesselId(BigDecimal vesselId) {
        this.vesselId = vesselId;
    }

    public String getBuilder() {
        return builder;
    }

    public void setBuilder(String builder) {
        this.builder = builder;
    }

    public String getClassificationSociety() {
        return classificationSociety;
    }

    public void setClassificationSociety(String classificationSociety) {
        this.classificationSociety = classificationSociety;
    }

    public BigDecimal getDeadWeight() {
        return deadWeight;
    }

    public void setDeadWeight(BigDecimal deadWeight) {
        this.deadWeight = deadWeight;
    }

    public BigDecimal getDesignMaxSpeed() {
        return designMaxSpeed;
    }

    public void setDesignMaxSpeed(BigDecimal designMaxSpeed) {
        this.designMaxSpeed = designMaxSpeed;
    }

    public BigDecimal getGrossTonnage() {
        return grossTonnage;
    }

    public void setGrossTonnage(BigDecimal grossTonnage) {
        this.grossTonnage = grossTonnage;
    }

    public BigDecimal getHeight() {
        return height;
    }

    public void setHeight(BigDecimal height) {
        this.height = height;
    }

    public String getInsurer() {
        return insurer;
    }

    public void setInsurer(String insurer) {
        this.insurer = insurer;
    }

    public BigDecimal getLength() {
        return length;
    }

    public void setLength(BigDecimal length) {
        this.length = length;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public BigDecimal getPersonCapacity() {
        return personCapacity;
    }

    public void setPersonCapacity(BigDecimal personCapacity) {
        this.personCapacity = personCapacity;
    }

    public String getServiceStatus() {
        return serviceStatus;
    }

    public void setServiceStatus(String serviceStatus) {
        this.serviceStatus = serviceStatus;
    }

    public BigDecimal getTeu14mt() {
        return teu14mt;
    }

    public void setTeu14mt(BigDecimal teu14mt) {
        this.teu14mt = teu14mt;
    }

    public BigDecimal getTeuMax() {
        return teuMax;
    }

    public void setTeuMax(BigDecimal teuMax) {
        this.teuMax = teuMax;
    }

    public BigDecimal getTeuReefer() {
        return teuReefer;
    }

    public void setTeuReefer(BigDecimal teuReefer) {
        this.teuReefer = teuReefer;
    }

    public BigDecimal getWidth() {
        return width;
    }

    public void setWidth(BigDecimal width) {
        this.width = width;
    }

    public BigDecimal getYearBuilt() {
        return yearBuilt;
    }

    public void setYearBuilt(BigDecimal yearBuilt) {
        this.yearBuilt = yearBuilt;
    }

    public BigDecimal getYearScraped() {
        return yearScraped;
    }

    public void setYearScraped(BigDecimal yearScraped) {
        this.yearScraped = yearScraped;
    }

    @Override
    protected Serializable pkVal() {
        return this.vesselId;
    }

    /**  
	 * @Title:  getId <BR>  
	 * @Description: please write your description <BR>  
	 * @author: Alan
	 * @date:   2019-02-14 15:29:38
	 */
	public String getId() {
		return id;
	}

	/**
	 * @Title:  setId <BR>  
	 * @Description: please write your description <BR>  
	 * @param id the id to set <BR>
	 * @author: Alan
	 * @date:   2019-02-14 15:29:38
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**  
	 * @Title:  getLsmsUpdate <BR>  
	 * @Description: please write your description <BR>  
	 * @author: Alan
	 * @date:   2019-02-14 15:29:38
	 */
	public BigDecimal getLsmsUpdate() {
		return lsmsUpdate;
	}

	/**
	 * @Title:  setLsmsUpdate <BR>  
	 * @Description: please write your description <BR>  
	 * @param lsmsUpdate the lsmsUpdate to set <BR>
	 * @author: Alan
	 * @date:   2019-02-14 15:29:38
	 */
	public void setLsmsUpdate(BigDecimal lsmsUpdate) {
		this.lsmsUpdate = lsmsUpdate;
	}

	/**  
	 * @Title:  getDataInputDatetime <BR>  
	 * @Description: please write your description <BR>  
	 * @author: Alan
	 * @date:   2019-02-14 15:29:38
	 */
	public Date getDataInputDatetime() {
		return dataInputDatetime;
	}

	/**
	 * @Title:  setDataInputDatetime <BR>  
	 * @Description: please write your description <BR>  
	 * @param dataInputDatetime the dataInputDatetime to set <BR>
	 * @author: Alan
	 * @date:   2019-02-14 15:29:38
	 */
	public void setDataInputDatetime(Date dataInputDatetime) {
		this.dataInputDatetime = dataInputDatetime;
	}

	@Override
    public String toString() {
        return "TankerGpsDatasheet{" +
        ", vesselId=" + vesselId +
        ", builder=" + builder +
        ", classificationSociety=" + classificationSociety +
        ", deadWeight=" + deadWeight +
        ", designMaxSpeed=" + designMaxSpeed +
        ", grossTonnage=" + grossTonnage +
        ", height=" + height +
        ", insurer=" + insurer +
        ", length=" + length +
        ", manager=" + manager +
        ", owner=" + owner +
        ", personCapacity=" + personCapacity +
        ", serviceStatus=" + serviceStatus +
        ", teu14mt=" + teu14mt +
        ", teuMax=" + teuMax +
        ", teuReefer=" + teuReefer +
        ", width=" + width +
        ", yearBuilt=" + yearBuilt +
        ", yearScraped=" + yearScraped +
        "}";
    }
}
